# -*- coding:utf-8 -*-
#!/usr/bin/env python

filename = raw_input('prompt:>>')

try:
	fp = file(filename,'r')
except IOError,e:
	print '*** file open error:', e
else:
	#else 表示没有异常，执行下面的语句
	for line in fp:
		print line.strip()
	fp.close()